import styled from 'styled-components'

const MyCreateOrder = styled.div`
  .adm-list,
  .adm-list-item-content-extra,
  .adm-list-body,
  .adm-text-area-element {
    font-size: 14px;
  }
  .service-order {
    background-color: #f5f5f5;
    min-height: 100vh;
    .progress-bar {
      background: linear-gradient(90deg, rgb(84, 179, 135), rgb(79, 169, 162));
      padding: 16px 8px;

      .line-bg {
        height: 7px;
        padding: 2px;
        background-color: white;
        border-radius: 5px;
        position: relative;

        .line-fill {
          height: 6px;
          background: linear-gradient(
            90deg,
            rgb(84, 179, 135),
            rgb(79, 169, 162)
          );
          border-radius: 5px;
          transition: width 0.3s;
        }
      }

      .step-list {
        display: flex;
        justify-content: space-between;
        margin-top: 8px;

        .step-item {
          text-align: center;
          flex: 1;

          .circle {
            width: 20px;
            height: 20px;
            margin: 0 auto;
            border-radius: 50%;
            background: #d8d8d8;
            color: #4fc3b3;
            line-height: 20px;
            font-size: 12px;
          }

          .label {
            margin-top: 4px;
            font-size: 12px;
            color: #93dfd5ff;
          }

          &.active .circle {
            background: white;
          }

          &.active .label {
            color: white;
          }
        }
      }
    }
  }

  .content-area {
    padding: 12px;
    .card {
      background: #fff;
      border-radius: 8px;
      padding: 12px;
      margin-bottom: 12px;
      span {
        color: red;
      }
      .service-header {
        display: flex;
        align-items: center;
        .service-img {
          width: 40px;
          height: 40px;
          border-radius: 6px;
          margin-right: 8px;
        }
        .service-title {
          font-weight: 600;
        }
        .service-sub {
          font-size: 12px;
          color: #888;
        }
      }

      input {
        border: none;
        outline: none;
        font-size: 14px;
        width: 100%;
      }
    }

    .text-area-wrapper {
      background: #fff;
      border-radius: 8px;
      padding: 12px;
      margin-bottom: 12px;
      .label {
        margin-bottom: 8px;
        color: #666;
        span {
          color: red;
        }
      }
    }

    .submit-btn {
      padding: 0 12px 20px;
    }
  }
`

export default MyCreateOrder
